-
Notifications
You must be signed in to change notification settings - Fork 4.3k
[Term Entry] C# Math-functions: SinCos() #7970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Term Entry] C# Math-functions: SinCos() #7970
Conversation
Added documentation for the Math.SinCos() method which returns both the sine and cosine of a given angle as a tuple. This method is more efficient than calling Math.Sin() and Math.Cos() separately. Resolves Codecademy#7953
0349100 to
4ed0697
Compare
|
@mamtawardhani Obligatory confession: I did this in three minutes with https://claude.ai/code The fastest ever. All I had to do was type in "Work on Issue #7953". I am in shock, now we can do dozens of issues in a single day. Would that be okay, for this issue and future ones? |
mamtawardhani
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for a second review! 🚀
dakshdeepHERE
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with minor changes 🚀
|
👋 @ylevental 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/c-sharp/math-functions/sincos Please note it may take a little while for changes to become visible. |
Added documentation for the Math.SinCos() method which returns both the sine and cosine of a given angle as a tuple. This method is more efficient than calling Math.Sin() and Math.Cos() separately.
Resolves #7953
Description
Added documentation for the
Math.SinCos()method in C# math-functions. This method returns both the sine and cosine of a given angle as a tuple, which is more efficient than callingMath.Sin()andMath.Cos()separately when both values are needed.The documentation includes:
Issue Solved
Closes #7953
Type of Change
Checklist
mainbranch.Issues Solvedsection.